package com.pureut.production.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pureut.production.domain.OperationProcessCenter;
import com.pureut.production.mapper.OperationProcessCenterMapper;
import com.pureut.production.service.OperationProcessCenterService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: CM
 * @date: 2023/2/8  16:30
 */
@Service
public class OperationProcessCenterServiceImpl extends ServiceImpl<OperationProcessCenterMapper, OperationProcessCenter> implements OperationProcessCenterService {

    @Resource
    OperationProcessCenterMapper operationProcessCenterMapper;

    /**
     * 根据工艺流程id查询出工序信息id
     * @return
     */
    @Override
    public List<Long> getId(Long id) {
        return operationProcessCenterMapper.getId(id);
    }
}
